package shared.other;

import org.apache.wicket.Localizer;

public enum MonthStateEnum {

    OPENED("monthStateEnum.opened"),
    BLOCKED("monthStateEnum.blocked"),
    CLOSED("monthStateEnum.closed");

    private String resourceKey;

    private MonthStateEnum(String resourceKey) {
        this.resourceKey = resourceKey;
    }

    public String getDisplayValue() {
        return Localizer.get().getString(resourceKey, null);
    }
}
